package com.wu.pojo.reqeust.sys;

import com.wu.pojo.reqeust.BaseRequest;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

@Data
public class UpdateRoleRequest extends BaseRequest {


    @ApiModelProperty(value = "角色id")
    @NotNull(message = "id为空")
    private Long roleId;

    @ApiModelProperty(value = "角色名称")
    private String roleName;

    @ApiModelProperty(value = "权限集合")
    private List<Long> resourceIds;
}
